<template>
  <div id="app">
    <my-button @click="output">我的按钮</my-button>
    <my-button type="primary">主要按钮</my-button>
    <my-button type="success">成功按钮</my-button>
    <my-button type="warning">警告按钮</my-button>
    <my-button type="danger">危险按钮</my-button>

    <br>

    <my-input placeholder="请输入名称"></my-input>
  </div>
</template>

<script>

export default {
  name: 'App',
  // components: {}
  methods: {
    output(e) {
      console.log('我的按钮', e);
    }
  }
}
</script>
